package com.flyoil.petromp.entity.entity_service;

import com.flyoil.petromp.base.BaseEntity;

import java.util.List;

/**
 * Created by Administrator on 2017/12/1 0001.
 * 供应商物品列表的实体类
 */

public class ProjectListEntity extends BaseEntity {

    /**
     * data : {"list":[{"id":0,"model":"string","name":"string","pictures":[{"id":0,"name":"string","previewer":"string","url":"string"}]}],"pageNumber":0,"pageSize":0,"total":0}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * list : [{"id":0,"model":"string","name":"string","pictures":[{"id":0,"name":"string","previewer":"string","url":"string"}]}]
         * pageNumber : 0
         * pageSize : 0
         * total : 0
         */

        private int pageNumber;
        private int pageSize;
        private int total;
        private List<ListBean> list;

        public int getPageNumber() {
            return pageNumber;
        }

        public void setPageNumber(int pageNumber) {
            this.pageNumber = pageNumber;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * id : 0
             * model : string
             * name : string
             * pictures : [{"id":0,"name":"string","previewer":"string","url":"string"}]
             */

            private int id;
            private String model;
            private String name;
            private List<PicturesBean> pictures;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getModel() {
                return model;
            }

            public void setModel(String model) {
                this.model = model;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public List<PicturesBean> getPictures() {
                return pictures;
            }

            public void setPictures(List<PicturesBean> pictures) {
                this.pictures = pictures;
            }

            public static class PicturesBean {
                /**
                 * id : 0
                 * name : string
                 * previewer : string
                 * url : string
                 */

                private int id;
                private String name;
                private String previewer;
                private String url;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getPreviewer() {
                    return previewer;
                }

                public void setPreviewer(String previewer) {
                    this.previewer = previewer;
                }

                public String getUrl() {
                    return url;
                }

                public void setUrl(String url) {
                    this.url = url;
                }
            }
        }
    }
}
